const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  status: state => state.user.status,
  code: state => state.user.code,
  token: state => state.user.token,
  username: state => state.user.username,
  avatar: state => state.user.avatar,
  roles: state => state.user.roles,
  permission_routers: state => state.permission.routers,
  addRouters: state => state.permission.addRouters,
  errorLogs: state => state.errorLog.logs,
  mainMenuRedirect: state => state.mainMenuRedirect.redirect,
  addMainMenu: state => state.addMainMenu.menu,
  predefineColors: state => state.globalData.predefineColors,
  goodsBaseData: state => state.goodsBaseData
}
export default getters
